package com.atguigu.eduorder.feign;

import com.atguigu.commonutils.ordervo.UcenterMemberOrderVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @Author: Cyrus
 * @CreateDate: 2020/12/18
 */
@FeignClient("service-ucenter")
public interface UcenterApi {
    /**
     * 根据用户id获取用户信息  (订单服务)
     */
    @GetMapping("/educenter/member/getMemberInfoById/{id}")
    UcenterMemberOrderVo getMemberInfoById(@PathVariable("id") String id);
}
